package com.coooliang.po;

public class TreeModel {
    private String name;
    private boolean isApiItem;
    private ApiModel apiModel;

    public TreeModel(){
        super();
    }
    public TreeModel(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public ApiModel getApiModel() {
        return apiModel;
    }

    public void setApiModel(ApiModel apiModel) {
        this.apiModel = apiModel;
        this.isApiItem = true;
    }

    public boolean isApiItem() {
        return isApiItem;
    }

    public void setApiItem(boolean apiItem) {
        isApiItem = apiItem;
    }

}
